﻿using System;
using System.Threading;

namespace Galaktika.BI.Runtime.Services
{
    public class UserTaskItem
    {
        public UserTaskItem(string caption, WaitCallback callback)
            : this(caption, callback, null)
        {
        }

        public UserTaskItem(string caption, WaitCallback callback, object state)
        {
            this.Caption = caption;
            this.Callback = callback;
            this.State = state;
        }

        public readonly string Caption;
        public readonly WaitCallback Callback;
        public readonly object State;
    }
}
